package cn.iocoder.yudao.module.enterprise.dal.mysql.reportdownload;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.reportdownload.ReportDownloadDO;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.yudao.module.enterprise.controller.admin.reportdownload.vo.*;

/**
 * 报告下载 Mapper
 *
 * @author StevenShen
 */
@Mapper
public interface ReportDownloadMapper extends BaseMapperX<ReportDownloadDO> {

    default PageResult<ReportDownloadDO> selectPage(ReportDownloadPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<ReportDownloadDO>()
                .orderByDesc(ReportDownloadDO::getId));
    }


}
